home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
comm2
/
rmvnwsgr.lha
/
RemoveNewsGroup
/
RemoveNewsGroup.doc
< prev
next >
Wrap
Text File
|
1995-09-01
|
2KB
|
47 lines
RemoveNewsGroup - v1.0 - by Jim McKinney - 31-Aug-95
Did ya ever subscribe to a newsgroup and then find out it really stinks?
Trying to get rid of that newsgroup can be a chore. Deleting the
sub-sub-sub directories and weeding it out of "Active", .newsrc, et al, is
time-consuming and a real hassle. Computers are supposed to do stuff like
that by themselves so I set out to make it happen. Here is the result.
It's nothing fancy. I found it quick and simple enough for ARexx to handle
nicely. It also makes it easy for you to modify to suit your needs and
setup. I hope someone gets some use out of this.
The assumptions made are:
1. You are running AmiTCP - duh!
2. You are getting your news via NNTPXfer
3. Your news is kept in UUNews:
4. Your "Active" file is also in UUNews:
5. You are using "purge" from the "PostNewsSpool" package (by James
Burton) to delete old news
6. "PurgeFile" is in UUNews:
7. $HOME is AmiTCP: and that's where .newsrc is at
8. Your newsreader is tin
Most of the above can be easily changed to suit your setup.
There are only two files in this utility. The ARexx program,
RemoveNewsGroup.rexx, and the script that calls it, RemoveNewsGroup. Put
the script in your AmiTCP:bin directory and the ARexx program in
AmiTCP:rexx.
The execution is very simple. From a shell enter:
"RemoveNewsGroup <news.group.name>"
and press return. The offending newsgroup will be eradicated from your
system.
RemoveNewsGroup intelligently deletes all those sub-directories caused by
most newsgroups. Then "Active", "PurgeFile", and ".newsrc" are read and
the applicable newsgroup is filtered out of each file.
I've also included my modified "AddNewsGroup" script. I customized it for
my system and fixed a few "features". :)
That's about it. Comments, suggestions, and questions can be sent to me at
"mckinnej@fwb.gulf.net". (Flames >nil:) Enjoy.